package cn.ljy.authority.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel(value="账户注册日志")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false,of = {"id"})
public class SysUserRegLog{
    @ApiModelProperty(value = "ID", example = "28b4d848-7b7f-11f0-a22e-0250f2000002")
    private String id;
    @ApiModelProperty(value = "注册用户信息")
    private SysUser user;
    @ApiModelProperty(value = "ip地址")
    private String ip;
    @ApiModelProperty(value = "注册时间")
    private Date regTime;
    @ApiModelProperty(value = "备注")
    private String remark;

    public SysUserRegLog(String id) {
        this.id = id;
    }
}
